<div id="sidebar">
  <?php include('ads/sidebar300x250.php'); ?>
 <div class="right" style="margin: 0 0 20px 0;" >

      <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">

        <div id="search">

          <input class="searchinput" type="text" value="Từ khóa..." onclick="this.value='';" name="s" id="s" />

          <input type="submit" class="searchsubmit" value="TÌM"/>

        </div>

      </form>

    </div>

    <!--end: search-->
  <div class="tabber">
    <div class="tabbertab">
      <h2>
        <?php _e("Thông báo", 'themejunkie'); ?>
      </h2>
      <ul>
        <?php echo postListByCategorySlug('thong-bao'); ?>
      </ul>
    </div> <!--end: tabbertab-->
    <div class="tabbertab">
      <h2>
        <?php _e("Văn bản mới nhất", 'themejunkie'); ?>
      </h2>
      <ul>
        <?php echo postListByCategorySlug('thong-tin-phap-luat'); ?>
      </ul>
    </div> <!--end: tabbertab-->
    
  </div> <!--end: tabber-->

  <div class="box">
      <h2><a href="thu-vien-anh">Thư viện ảnh</a></h2>
		<?php if (function_exists('vslider')) { vslider('vslider_options'); }?>
	</div>
  
    <div class="box image-links">
    <?php
    $links = get_bookmarks();
    ?>
        <h2>Website liên kết</h2>
        <ul>
            <?php foreach($links as $link) { ?>
            <li><a href="<?php echo $link->link_url; ?>" title="<?php echo $link->link_name; ?>" target="_blank"><?php if ($link->link_image && $link->link_image != "") { ?><img width="290px" height="100px" src="<?php echo $link->link_image; ?>" alt="<?php echo $link->link_name; ?>" /><?php } else { echo "<b>$link->link_name</b>"; } ?></a></li>
            <?php } ?>
        </ul>
    </div>

  <div class="box">
	  <h2>Thông tin liên hệ</h2>
	  <ul>
		  <li>Điện thoại: 054. 866156</li>
		  <li>Fax: 054. 866240</li>
		  <li>Email: truong.ly@gmail.com </li>
	  </ul>
  </div>
  
  <div class="box statistics">
        <h2>Thống kê:</h2>
        <table>
            <tr>
                <td width="180px">Tổng lượt truy cập:</td>
                <td width="100px" align="right"><b><?php do_shortcode('[total]total[/total]') ?></b></td>
            </tr>
            <tr>
                <td width="180px">Lượt truy cập hôm nay:</td>
                <td width="100px" align="right"><b><?php do_shortcode('[today]today[/today]') ?></b></td>
            </tr>
        </table>
    </div>

</div>
<!--end: sidebar-->
